<?php
include_once(dirname(__FILE__) . "/../config.php");

class parser_controller {
    public function index_action() {
        $parser = get_request_assert("parser");
        $parser = Parser::create($parser);
        $tpl = new tpl("header", "footer");
        $tpl->set("parser", $parser);
        $tpl->display("parser/index");
    }
}













